#include<bits/stdc++.h>
using namespace std;
int T;
int main(){
  freopen("arena.in","r",stdin);
  freopen("arena.out","w",stdout);
  scanf("%d",&T);
  for(int i=1;i<=T;i++)
    cout<<0<<endl;
  return 0;
}
